package com.smart.integral.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "integral")
public class Integral {
    @TableId(value = "integral_id", type = IdType.ASSIGN_ID)
    private Long integralId;

    @TableField(value = "score")
    private Integer score;

    /**
     * 1  表示注册积分
     */
    @TableField(value = "`type`")
    private Integer type;
    @TableField(value = "`status`")
    private Integer status;

    public static final String COL_INTEGRAL_ID = "integral_id";

    public static final String COL_SCORE = "score";

    public static final String COL_TYPE = "type";

    public static final String COL_STATUS = "status";
}